package com.xlh.wjdcserver.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.property.dto.AnswerDTO;
import com.property.dto.AnswerExportDTO;
import com.property.dto.AnswerPageDTO;
import com.property.entity.Answer;
import com.property.vo.AnswerPageVO;
import com.property.vo.AnswerVO;

import java.io.IOException;
import java.util.List;

public interface AnswerService extends IService<Answer> {
    void addAnswer(List<AnswerDTO> answerDTOs);

    Page<AnswerVO> listAnswer(AnswerPageDTO answerPageDTO);

    byte[] export(AnswerExportDTO answerExportDTO) throws IOException;
}
